Moves the mouse pointer a number of pixels from the current location.
Syntax
MouseMoveFromCurrentPosition(xPixels, yPixels, WaitTime)
Arguments
| Argument | Description |
|---|---|
| xPixels | Number of pixels to move the mouse horizontally. Must be within the available pixels on the test computer's screen. |
| yPixels | Number of pixels to move the mouse vertically. Must be within the available pixels on the test computer's screen. |
| WaitTime | Number of milliseconds to wait after the previous statement before moving the mouse. |
Example
'Moves mouse right 25 pixels and down 15 pixels 5000 milliseconds after previous statement runs
MouseMoveFromCurrentPosition(25, 15, 5000)